const print = function () {
    if (process.env.NODE_ENV == 'development') {
        if (!!arguments[0] && (!!arguments[0].error || !!arguments[0].err)) {
            console.error(...arguments)
        } else {
            // console.log.apply(console,arguments)
            console.log(...arguments)
        }
    }
}

exports.$print = print
exports.print = print
exports.log = print

const info = function () {
    if (!!arguments[0] && (!!arguments[0].error || !!arguments[0].err)) {
        console.error(...arguments)
    } else {
        // console.log.apply(console,arguments)
        console.log(...arguments)
    }
}


exports.$info = info
exports.info = info




